3.628 \(\int \frac {A+B \cos (c+d x)}{(a+b \cos (c+d x))^{5/2} \sqrt {\sec (c+d x)}} \, dx\)
Optimal. Leaf size=431 \[ \frac {2 \left (3 a^2 A-4 a b B+A b^2\right ) \sin (c+d x) \sqrt {\sec (c+d x)}}{3 d \left (a^2-b^2\right )^2 \sqrt {a+b \cos (c+d x)}}-\frac {2 (A b-a B) \sin (c+d x)}{3 d \left (a^2-b^2\right ) \sqrt {\sec (c+d x)} (a+b \cos (c+d x))^{3/2}}-\frac {2 \left (3 a^2 A-4 a b B+A b^2\right ) \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a^2 d (a-b) (a+b)^{3/2} \sqrt {\sec (c+d x)}}+\frac {2 (a (3 A+B)-b (A+3 B)) \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a d (a-b) (a+b)^{3/2} \sqrt {\sec (c+d x)}} \]
[Out]
-2/3*(A*b-B*a)*sin(d*x+c)/(a^2-b^2)/d/(a+b*cos(d*x+c))^(3/2)/sec(d*x+c)^(1/2)+2/3*(3*A*a^2+A*b^2-4*B*a*b)*sin(
d*x+c)*sec(d*x+c)^(1/2)/(a^2-b^2)^2/d/(a+b*cos(d*x+c))^(1/2)-2/3*(3*A*a^2+A*b^2-4*B*a*b)*csc(d*x+c)*EllipticE(
(a+b*cos(d*x+c))^(1/2)/(a+b)^(1/2)/cos(d*x+c)^(1/2),((-a-b)/(a-b))^(1/2))*cos(d*x+c)^(1/2)*(a*(1-sec(d*x+c))/(
a+b))^(1/2)*(a*(1+sec(d*x+c))/(a-b))^(1/2)/a^2/(a-b)/(a+b)^(3/2)/d/sec(d*x+c)^(1/2)+2/3*(a*(3*A+B)-b*(A+3*B))*
csc(d*x+c)*EllipticF((a+b*cos(d*x+c))^(1/2)/(a+b)^(1/2)/cos(d*x+c)^(1/2),((-a-b)/(a-b))^(1/2))*cos(d*x+c)^(1/2
)*(a*(1-sec(d*x+c))/(a+b))^(1/2)*(a*(1+sec(d*x+c))/(a-b))^(1/2)/a/(a-b)/(a+b)^(3/2)/d/sec(d*x+c)^(1/2)
________________________________________________________________________________________
Rubi [A] time = 1.08, antiderivative size = 431, normalized size of antiderivative = 1.00,
number of steps used = 6, number of rules used = 6, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.171, Rules used =
{2961, 2999, 2993, 2998, 2816, 2994} \[ \frac {2 \left (3 a^2 A-4 a b B+A b^2\right ) \sin (c+d x) \sqrt {\sec (c+d x)}}{3 d \left (a^2-b^2\right )^2 \sqrt {a+b \cos (c+d x)}}-\frac {2 (A b-a B) \sin (c+d x)}{3 d \left (a^2-b^2\right ) \sqrt {\sec (c+d x)} (a+b \cos (c+d x))^{3/2}}-\frac {2 \left (3 a^2 A-4 a b B+A b^2\right ) \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a^2 d (a-b) (a+b)^{3/2} \sqrt {\sec (c+d x)}}+\frac {2 (a (3 A+B)-b (A+3 B)) \sqrt {\cos (c+d x)} \csc (c+d x) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (\sec (c+d x)+1)}{a-b}} F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right )}{3 a d (a-b) (a+b)^{3/2} \sqrt {\sec (c+d x)}} \]
Antiderivative was successfully verified.
[In]
Int[(A + B*Cos[c + d*x])/((a + b*Cos[c + d*x])^(5/2)*Sqrt[Sec[c + d*x]]),x]
[Out]
(-2*(3*a^2*A + A*b^2 - 4*a*b*B)*Sqrt[Cos[c + d*x]]*Csc[c + d*x]*EllipticE[ArcSin[Sqrt[a + b*Cos[c + d*x]]/(Sqr
t[a + b]*Sqrt[Cos[c + d*x]])], -((a + b)/(a - b))]*Sqrt[(a*(1 - Sec[c + d*x]))/(a + b)]*Sqrt[(a*(1 + Sec[c + d
*x]))/(a - b)])/(3*a^2*(a - b)*(a + b)^(3/2)*d*Sqrt[Sec[c + d*x]]) + (2*(a*(3*A + B) - b*(A + 3*B))*Sqrt[Cos[c
+ d*x]]*Csc[c + d*x]*EllipticF[ArcSin[Sqrt[a + b*Cos[c + d*x]]/(Sqrt[a + b]*Sqrt[Cos[c + d*x]])], -((a + b)/(
a - b))]*Sqrt[(a*(1 - Sec[c + d*x]))/(a + b)]*Sqrt[(a*(1 + Sec[c + d*x]))/(a - b)])/(3*a*(a - b)*(a + b)^(3/2)
*d*Sqrt[Sec[c + d*x]]) - (2*(A*b - a*B)*Sin[c + d*x])/(3*(a^2 - b^2)*d*(a + b*Cos[c + d*x])^(3/2)*Sqrt[Sec[c +
d*x]]) + (2*(3*a^2*A + A*b^2 - 4*a*b*B)*Sqrt[Sec[c + d*x]]*Sin[c + d*x])/(3*(a^2 - b^2)^2*d*Sqrt[a + b*Cos[c
+ d*x]])
Rule 2816
Int[1/(Sqrt[(d_.)*sin[(e_.) + (f_.)*(x_)]]*Sqrt[(a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Simp[(-2*
Tan[e + f*x]*Rt[(a + b)/d, 2]*Sqrt[(a*(1 - Csc[e + f*x]))/(a + b)]*Sqrt[(a*(1 + Csc[e + f*x]))/(a - b)]*Ellipt
icF[ArcSin[Sqrt[a + b*Sin[e + f*x]]/(Sqrt[d*Sin[e + f*x]]*Rt[(a + b)/d, 2])], -((a + b)/(a - b))])/(a*f), x] /
; FreeQ[{a, b, d, e, f}, x] && NeQ[a^2 - b^2, 0] && PosQ[(a + b)/d]
Rule 2961
Int[(csc[(e_.) + (f_.)*(x_)]*(g_.))^(p_.)*((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_.)*((c_) + (d_.)*sin[(e_.
) + (f_.)*(x_)])^(n_.), x_Symbol] :> Dist[(g*Csc[e + f*x])^p*(g*Sin[e + f*x])^p, Int[((a + b*Sin[e + f*x])^m*(
c + d*Sin[e + f*x])^n)/(g*Sin[e + f*x])^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m, n, p}, x] && NeQ[b*c - a*d
, 0] && !IntegerQ[p] && !(IntegerQ[m] && IntegerQ[n])
Rule 2993
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(Sqrt[(d_.)*sin[(e_.) + (f_.)*(x_)]]*((a_) + (b_.)*sin[(e_.) + (f_
.)*(x_)])^(3/2)), x_Symbol] :> Simp[(2*(A*b - a*B)*Cos[e + f*x])/(f*(a^2 - b^2)*Sqrt[a + b*Sin[e + f*x]]*Sqrt[
d*Sin[e + f*x]]), x] + Dist[d/(a^2 - b^2), Int[(A*b - a*B + (a*A - b*B)*Sin[e + f*x])/(Sqrt[a + b*Sin[e + f*x]
]*(d*Sin[e + f*x])^(3/2)), x], x] /; FreeQ[{a, b, d, e, f, A, B}, x] && NeQ[a^2 - b^2, 0]
Rule 2994
Int[((A_) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*sin[(e_.)
+ (f_.)*(x_)]]), x_Symbol] :> Simp[(-2*A*(c - d)*Tan[e + f*x]*Rt[(c + d)/b, 2]*Sqrt[(c*(1 + Csc[e + f*x]))/(c
- d)]*Sqrt[(c*(1 - Csc[e + f*x]))/(c + d)]*EllipticE[ArcSin[Sqrt[c + d*Sin[e + f*x]]/(Sqrt[b*Sin[e + f*x]]*Rt[
(c + d)/b, 2])], -((c + d)/(c - d))])/(f*b*c^2), x] /; FreeQ[{b, c, d, e, f, A, B}, x] && NeQ[c^2 - d^2, 0] &&
EqQ[A, B] && PosQ[(c + d)/b]
Rule 2998
Int[((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])/(((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(3/2)*Sqrt[(c_) + (d_.)*s
in[(e_.) + (f_.)*(x_)]]), x_Symbol] :> Dist[(A - B)/(a - b), Int[1/(Sqrt[a + b*Sin[e + f*x]]*Sqrt[c + d*Sin[e
+ f*x]]), x], x] - Dist[(A*b - a*B)/(a - b), Int[(1 + Sin[e + f*x])/((a + b*Sin[e + f*x])^(3/2)*Sqrt[c + d*Sin
[e + f*x]]), x], x] /; FreeQ[{a, b, c, d, e, f, A, B}, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2
- d^2, 0] && NeQ[A, B]
Rule 2999
Int[((a_.) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((A_.) + (B_.)*sin[(e_.) + (f_.)*(x_)])*((c_.) + (d_.)*sin[(e
_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp[((B*a - A*b)*Cos[e + f*x]*(a + b*Sin[e + f*x])^(m + 1)*(c + d*Sin[e
+ f*x])^n)/(f*(m + 1)*(a^2 - b^2)), x] + Dist[1/((m + 1)*(a^2 - b^2)), Int[(a + b*Sin[e + f*x])^(m + 1)*(c +
d*Sin[e + f*x])^(n - 1)*Simp[c*(a*A - b*B)*(m + 1) + d*n*(A*b - a*B) + (d*(a*A - b*B)*(m + 1) - c*(A*b - a*B)*
(m + 2))*Sin[e + f*x] - d*(A*b - a*B)*(m + n + 2)*Sin[e + f*x]^2, x], x], x] /; FreeQ[{a, b, c, d, e, f, A, B}
, x] && NeQ[b*c - a*d, 0] && NeQ[a^2 - b^2, 0] && NeQ[c^2 - d^2, 0] && LtQ[m, -1] && GtQ[n, 0]
Rubi steps
\begin {align*} \int \frac {A+B \cos (c+d x)}{(a+b \cos (c+d x))^{5/2} \sqrt {\sec (c+d x)}} \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {\cos (c+d x)} (A+B \cos (c+d x))}{(a+b \cos (c+d x))^{5/2}} \, dx\\ &=-\frac {2 (A b-a B) \sin (c+d x)}{3 \left (a^2-b^2\right ) d (a+b \cos (c+d x))^{3/2} \sqrt {\sec (c+d x)}}-\frac {\left (2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {1}{2} (A b-a B)-\frac {3}{2} (a A-b B) \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))^{3/2}} \, dx}{3 \left (a^2-b^2\right )}\\ &=-\frac {2 (A b-a B) \sin (c+d x)}{3 \left (a^2-b^2\right ) d (a+b \cos (c+d x))^{3/2} \sqrt {\sec (c+d x)}}+\frac {2 \left (3 a^2 A+A b^2-4 a b B\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{3 \left (a^2-b^2\right )^2 d \sqrt {a+b \cos (c+d x)}}-\frac {\left (2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\frac {1}{2} b (A b-a B)+\frac {3}{2} a (a A-b B)+\left (\frac {1}{2} a (A b-a B)+\frac {3}{2} b (a A-b B)\right ) \cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx}{3 \left (a^2-b^2\right )^2}\\ &=-\frac {2 (A b-a B) \sin (c+d x)}{3 \left (a^2-b^2\right ) d (a+b \cos (c+d x))^{3/2} \sqrt {\sec (c+d x)}}+\frac {2 \left (3 a^2 A+A b^2-4 a b B\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{3 \left (a^2-b^2\right )^2 d \sqrt {a+b \cos (c+d x)}}+\frac {\left (\left (-3 a^2 A-A b^2+4 a b B\right ) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1+\cos (c+d x)}{\cos ^{\frac {3}{2}}(c+d x) \sqrt {a+b \cos (c+d x)}} \, dx}{3 \left (a^2-b^2\right )^2}+\frac {\left ((a-b) (a (3 A+B)-b (A+3 B)) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {1}{\sqrt {\cos (c+d x)} \sqrt {a+b \cos (c+d x)}} \, dx}{3 \left (a^2-b^2\right )^2}\\ &=-\frac {2 \left (3 a^2 A+A b^2-4 a b B\right ) \sqrt {\cos (c+d x)} \csc (c+d x) E\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{3 a^2 (a-b) (a+b)^{3/2} d \sqrt {\sec (c+d x)}}+\frac {2 (a (3 A+B)-b (A+3 B)) \sqrt {\cos (c+d x)} \csc (c+d x) F\left (\sin ^{-1}\left (\frac {\sqrt {a+b \cos (c+d x)}}{\sqrt {a+b} \sqrt {\cos (c+d x)}}\right )|-\frac {a+b}{a-b}\right ) \sqrt {\frac {a (1-\sec (c+d x))}{a+b}} \sqrt {\frac {a (1+\sec (c+d x))}{a-b}}}{3 a (a-b) (a+b)^{3/2} d \sqrt {\sec (c+d x)}}-\frac {2 (A b-a B) \sin (c+d x)}{3 \left (a^2-b^2\right ) d (a+b \cos (c+d x))^{3/2} \sqrt {\sec (c+d x)}}+\frac {2 \left (3 a^2 A+A b^2-4 a b B\right ) \sqrt {\sec (c+d x)} \sin (c+d x)}{3 \left (a^2-b^2\right )^2 d \sqrt {a+b \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 18.80, size = 528, normalized size = 1.23 \[ \frac {\sqrt {\sec (c+d x)} \sqrt {a+b \cos (c+d x)} \left (-\frac {2 \left (3 a^2 A-4 a b B+A b^2\right ) \sin (c+d x)}{3 a \left (a^2-b^2\right )^2}+\frac {2 \left (a^2 B \sin (c+d x)-a A b \sin (c+d x)\right )}{3 b \left (b^2-a^2\right ) (a+b \cos (c+d x))^2}+\frac {2 \left (a^3 B \sin (c+d x)+2 a^2 A b \sin (c+d x)-5 a b^2 B \sin (c+d x)+2 A b^3 \sin (c+d x)\right )}{3 b \left (b^2-a^2\right )^2 (a+b \cos (c+d x))}\right )}{d}-\frac {2 \sqrt {\cos ^2\left (\frac {1}{2} (c+d x)\right ) \sec (c+d x)} \left (-\left (\left (3 a^2 A-4 a b B+A b^2\right ) \cos (c+d x) \tan \left (\frac {1}{2} (c+d x)\right ) \sec ^2\left (\frac {1}{2} (c+d x)\right ) (a+b \cos (c+d x))\right )-2 (a+b) \left (3 a^2 A-4 a b B+A b^2\right ) \sqrt {\frac {\cos (c+d x)}{\cos (c+d x)+1}} \sqrt {\frac {a+b \cos (c+d x)}{(a+b) (\cos (c+d x)+1)}} E\left (\sin ^{-1}\left (\tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {b-a}{a+b}\right )+2 a (a+b) (3 a A-a B+A b-3 b B) \sqrt {\frac {\cos (c+d x)}{\cos (c+d x)+1}} \sqrt {\frac {a+b \cos (c+d x)}{(a+b) (\cos (c+d x)+1)}} F\left (\sin ^{-1}\left (\tan \left (\frac {1}{2} (c+d x)\right )\right )|\frac {b-a}{a+b}\right )\right )}{3 a d \left (a^2-b^2\right )^2 \sqrt {\sec ^2\left (\frac {1}{2} (c+d x)\right )} \sqrt {a+b \cos (c+d x)}} \]
Warning: Unable to verify antiderivative.
[In]
Integrate[(A + B*Cos[c + d*x])/((a + b*Cos[c + d*x])^(5/2)*Sqrt[Sec[c + d*x]]),x]
[Out]
(Sqrt[a + b*Cos[c + d*x]]*Sqrt[Sec[c + d*x]]*((-2*(3*a^2*A + A*b^2 - 4*a*b*B)*Sin[c + d*x])/(3*a*(a^2 - b^2)^2
) + (2*(-(a*A*b*Sin[c + d*x]) + a^2*B*Sin[c + d*x]))/(3*b*(-a^2 + b^2)*(a + b*Cos[c + d*x])^2) + (2*(2*a^2*A*b
*Sin[c + d*x] + 2*A*b^3*Sin[c + d*x] + a^3*B*Sin[c + d*x] - 5*a*b^2*B*Sin[c + d*x]))/(3*b*(-a^2 + b^2)^2*(a +
b*Cos[c + d*x]))))/d - (2*Sqrt[Cos[(c + d*x)/2]^2*Sec[c + d*x]]*(-2*(a + b)*(3*a^2*A + A*b^2 - 4*a*b*B)*Sqrt[C
os[c + d*x]/(1 + Cos[c + d*x])]*Sqrt[(a + b*Cos[c + d*x])/((a + b)*(1 + Cos[c + d*x]))]*EllipticE[ArcSin[Tan[(
c + d*x)/2]], (-a + b)/(a + b)] + 2*a*(a + b)*(3*a*A + A*b - a*B - 3*b*B)*Sqrt[Cos[c + d*x]/(1 + Cos[c + d*x])
]*Sqrt[(a + b*Cos[c + d*x])/((a + b)*(1 + Cos[c + d*x]))]*EllipticF[ArcSin[Tan[(c + d*x)/2]], (-a + b)/(a + b)
] - (3*a^2*A + A*b^2 - 4*a*b*B)*Cos[c + d*x]*(a + b*Cos[c + d*x])*Sec[(c + d*x)/2]^2*Tan[(c + d*x)/2]))/(3*a*(
a^2 - b^2)^2*d*Sqrt[a + b*Cos[c + d*x]]*Sqrt[Sec[(c + d*x)/2]^2])
________________________________________________________________________________________
fricas [F] time = 0.74, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (B \cos \left (d x + c\right ) + A\right )} \sqrt {b \cos \left (d x + c\right ) + a}}{{\left (b^{3} \cos \left (d x + c\right )^{3} + 3 \, a b^{2} \cos \left (d x + c\right )^{2} + 3 \, a^{2} b \cos \left (d x + c\right ) + a^{3}\right )} \sqrt {\sec \left (d x + c\right )}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/(a+b*cos(d*x+c))^(5/2)/sec(d*x+c)^(1/2),x, algorithm="fricas")
[Out]
integral((B*cos(d*x + c) + A)*sqrt(b*cos(d*x + c) + a)/((b^3*cos(d*x + c)^3 + 3*a*b^2*cos(d*x + c)^2 + 3*a^2*b
*cos(d*x + c) + a^3)*sqrt(sec(d*x + c))), x)
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/(a+b*cos(d*x+c))^(5/2)/sec(d*x+c)^(1/2),x, algorithm="giac")
[Out]
Timed out
________________________________________________________________________________________
maple [B] time = 0.47, size = 4243, normalized size = 9.84 \[ \text {output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A+B*cos(d*x+c))/(a+b*cos(d*x+c))^(5/2)/sec(d*x+c)^(1/2),x)
[Out]
2/3/d*(-3*A*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(
d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*sin(d*x+c)*a^4+3*A*cos(d*x+c)^3*a^2*b^2-4*B*cos(d*x+c)^3*a*b^3-8*B*co
s(d*x+c)^2*a^2*b^2+4*B*cos(d*x+c)^2*a*b^3-4*B*cos(d*x+c)*a^3*b+3*B*cos(d*x+c)*a^2*b^2+6*A*cos(d*x+c)^2*a^3*b+2
*A*cos(d*x+c)^2*a*b^3+A*cos(d*x+c)*a^2*b^2-B*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c)
)/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*sin(d*x+c)*a^4+A*cos(d*x+c)^3*b^4-A*
cos(d*x+c)^2*b^4-B*cos(d*x+c)^3*a^4+B*cos(d*x+c)*a^4-3*A*cos(d*x+c)^2*a^4+3*A*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2
)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*sin
(d*x+c)*a^4+4*B*cos(d*x+c)^2*a^3*b-2*A*cos(d*x+c)^3*a^3*b-2*A*cos(d*x+c)^3*a*b^3-4*A*cos(d*x+c)^2*a^2*b^2-4*A*
cos(d*x+c)*a^3*b+5*B*cos(d*x+c)^3*a^2*b^2-6*A*sin(d*x+c)*cos(d*x+c)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-
b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*a^3*b-3*B*sin
(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+
c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*cos(d*x+c)^2*a*b^3-3*A*sin(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b
*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^3*b-A*si
n(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x
+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^2*b^2-A*sin(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))
/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a*b^3+A*sin(d*x+c)*(co
s(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x
+c),(-(a-b)/(a+b))^(1/2))*a^2*b^2+4*B*sin(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*
x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^3*b+4*B*sin(d*x+c)*(cos(d*x+c)
/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a
-b)/(a+b))^(1/2))*a^2*b^2-4*B*sin(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a
+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^3*b-3*B*sin(d*x+c)*(cos(d*x+c)/(1+cos(
d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b
))^(1/2))*a^2*b^2-A*sin(d*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(
a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*b^4-4*A*sin(d*x+c)*cos(d*x+c)*EllipticE
((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d
*x+c))/(a+b))^(1/2)*a^2*b^2-2*A*sin(d*x+c)*cos(d*x+c)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2
))*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*a*b^3+5*A*sin(d*x+c)*cos(d*
x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))
/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^2*b^2+A*sin(d*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(
d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a*b^3+4*B*sin(d
*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1
+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^3*b+8*B*sin(d*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2
)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^2
*b^2+4*B*sin(d*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)
*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a*b^3-5*B*sin(d*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos
(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+
b))^(1/2))*a^3*b-7*B*sin(d*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/
(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^2*b^2-3*B*sin(d*x+c)*cos(d*x+c)*(cos
(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+
c),(-(a-b)/(a+b))^(1/2))*a*b^3+3*A*cos(d*x+c)*a^4-3*A*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+c
os(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*sin(d*x+c)*cos(d*x+c)^2*a^3
*b-3*A*sin(d*x+c)*cos(d*x+c)^2*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)
*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^2*b^2-A*sin(d*x+c)*cos(d*x+c)^2*(cos(d*x+c)/(1+c
os(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(
a+b))^(1/2))*a*b^3+3*A*sin(d*x+c)*cos(d*x+c)^2*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+
c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^3*b+4*A*(cos(d*x+c)/(1+cos(d*x+c
)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1
/2))*sin(d*x+c)*cos(d*x+c)^2*a^2*b^2+A*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b
))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*sin(d*x+c)*cos(d*x+c)^2*a*b^3+4*B*sin(d*x+
c)*cos(d*x+c)^2*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+
cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^2*b^2+4*B*sin(d*x+c)*cos(d*x+c)^2*(cos(d*x+c)/(1+cos(d*x+c)))^(
1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*
a*b^3-B*sin(d*x+c)*cos(d*x+c)^2*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2
)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^3*b-4*B*sin(d*x+c)*cos(d*x+c)^2*(cos(d*x+c)/(1+
cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/
(a+b))^(1/2))*a^2*b^2-B*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*Ellipt
icF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*sin(d*x+c)*cos(d*x+c)*a^4+4*A*sin(d*x+c)*(cos(d*x+c)/(1+c
os(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(
a+b))^(1/2))*a^3*b-A*sin(d*x+c)*cos(d*x+c)^2*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c)
)/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*b^4+3*A*(cos(d*x+c)/(1+cos(d*x+c)))^
(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))
*sin(d*x+c)*cos(d*x+c)*a^4+7*A*sin(d*x+c)*cos(d*x+c)*(cos(d*x+c)/(1+cos(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+co
s(d*x+c))/(a+b))^(1/2)*EllipticF((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+b))^(1/2))*a^3*b-3*A*(cos(d*x+c)/(1+cos
(d*x+c)))^(1/2)*((a+b*cos(d*x+c))/(1+cos(d*x+c))/(a+b))^(1/2)*EllipticE((-1+cos(d*x+c))/sin(d*x+c),(-(a-b)/(a+
b))^(1/2))*sin(d*x+c)*cos(d*x+c)*a^4)*(1/cos(d*x+c))^(1/2)/sin(d*x+c)/(a+b*cos(d*x+c))^(3/2)/a/(a+b)^2/(a-b)^2
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {B \cos \left (d x + c\right ) + A}{{\left (b \cos \left (d x + c\right ) + a\right )}^{\frac {5}{2}} \sqrt {\sec \left (d x + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/(a+b*cos(d*x+c))^(5/2)/sec(d*x+c)^(1/2),x, algorithm="maxima")
[Out]
integrate((B*cos(d*x + c) + A)/((b*cos(d*x + c) + a)^(5/2)*sqrt(sec(d*x + c))), x)
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {A+B\,\cos \left (c+d\,x\right )}{\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}\,{\left (a+b\,\cos \left (c+d\,x\right )\right )}^{5/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((A + B*cos(c + d*x))/((1/cos(c + d*x))^(1/2)*(a + b*cos(c + d*x))^(5/2)),x)
[Out]
int((A + B*cos(c + d*x))/((1/cos(c + d*x))^(1/2)*(a + b*cos(c + d*x))^(5/2)), x)
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((A+B*cos(d*x+c))/(a+b*cos(d*x+c))**(5/2)/sec(d*x+c)**(1/2),x)
[Out]
Timed out
________________________________________________________________________________________